extends Node2D

const WEAPON = preload("res://weapon/weapon.tscn")
const num = 4
const radius = 100

# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	var unit = TAU / num
	for i in range(num):
		var weapon = WEAPON.instantiate()
		weapon.position = Vector2(radius,0).rotated(unit * i)
		#weapon.rotate(unit * i+PI/2)
		add_child(weapon)
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	pass
